
import request from '@/utils/request'
export function list(data) {
  return request({
    url: '/system/notice/list',
    method: 'post',
    data: data
  })
}
export function treeSelectArrayList() {
  return request({
    url: '/system/dept/treeSelectArray',
    method: 'get'
  })
}
export function remove(data) {
  return request({
    url: '/system/notice/delete',
    method: 'post',
    data: { deleteIds: data }
  })
}
export function addOrUpdate(data) {
  return request({
    url: '/system/notice/addOrEdit',
    method: 'post',
    data: data
  })
}
export function getInfo(data) {
  return request({
    url: '/system/notice/' + data,
    method: 'get'
  })
}
export function searchByIds(data) {
  return request({
    url: '/system/user/searchByIds',
    method: 'post',
    data: data
  })
}
export function repealDeliver(data) {
  return request({
    url: '/system/notice/revert',
    method: 'post',
    data: data
  })
}
